<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>table-list</title>
    <!-- 让IE8/9支持媒体查询，从而兼容栅格 -->
    <!--[if lt IE 9]>
    <script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
    <script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
    <link rel="stylesheet" href="./lib/layui/css/layui.css">
    <script type="text/javascript" src="https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script>
    <script type="text/javascript" src="./lib/layui/layui.js" charset="utf-8"></script>
    <link rel="stylesheet" href="./css/xadmin.css">
    <script src="./js/config.js"></script>
    <script src="./js/xadmin.js"></script>
    <script src="./js/qrcode.js"></script>
    <script src="./js/table-list.js"></script>

</head>
<body>

<div id="cell_list" class="layui-hide">
    <table class="layui-table" id="cell_list_table"></table>
</div>

<div id="people_list" class="layui-hide">
    <table class="layui-table" id="people_list_table"></table>
</div>

<div class=" x-body">
    <button class="layui-btn"
            onclick="x_admin_show('添加活动','./table-add.html')"><i class="layui-icon"></i>添加
    </button>
<!--    <button class="layui-btn" onclick="upload_open()">CSV导入</button>-->

    <table id="turn_table"></table>
    <div id="qrcode" style="margin-top: -96px"></div>
</div>

<div class="layui-hide" id="upload_model">
    <div class="layui-upload-drag" id="upload">
        <i class="layui-icon"></i>
        <p>点击或拖拽导入CSV文件</p>
    </div>
</div>


<script type="text/html" id="barDemo">
    <i onclick="add_cell(this)" class="layui-icon"
       style="cursor: pointer">&#xe654;</i>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <i onclick="edit_table(this)" class="layui-icon"
       style="cursor: pointer">&#xe642;</i>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <i onclick="download(this)" class="layui-icon"
       style="cursor: pointer">&#xe601;</i>
</script>

<script type="text/html" id="titleTpl">
    <a href="###" style="cursor: pointer;text-decoration:underline;"
       onclick="open2('{{d.activitykey}}')">{{d.theme}}</a>
</script>
<script type="text/html" id="cell_delete">
    <a href="###" style="cursor: pointer;text-decoration:underline;" onclick="cell_delete('{{d.cellkey}}')">删除</a>
</script>
<script type="text/html" id="people_tmp">
    <a href="###" style="cursor: pointer;text-decoration:underline;" onclick="people_show('{{d.activitykey}}')">{{d.people}}</a>
</script>
</body>

</html>
